@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");
:root {
    --background: #eeeeee;
    --rnavbar-width: 256px;
    --rnavbar-width-min: 34px;
    --rnavbar-dark-primary: #18283b;
    --rnavbar-dark-secondary: #2c3e50;
    --rnavbar-dark-line: #2d3f55;
    --rnavbar-light-primary: #f5f6fa;
    --rnavbar-light-secondary: #8392a5;
    --dark-grey: #333333;
    --medium-grey: #636363;
    --light-grey: #eeeeee;
    --ash: #f4f4f4;
    --primary-color: #2b72fb;
    --white: white;
    --textcolor: #cdcdcd;
    --texthover: aquamarine;
    --textindex: white;
    --border: 1px solid var(--light-grey);
    --shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}


#rnav-toggle {
    position: relative;
    left: 0px;
    width: 32px;
    height: 32px;
    float: left;
    display: flex;
    border-radius: 16px;
}
#rnav-title {
    font-size: 1.2rem;
    transition: opacity 1s;
    margin-left: 6px;
    text-decoration: underline;
}

#rnav-header {
    position: relative;
    width: var(--rnavbar-width);
    left: 0px;
    height:36px;
    width: calc(var(--rnavbar-width) - 1px);
    min-height: 20px;
    background: var(--rnavbar-dark-secondary);
    border-radius: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: width 0.2s;
}

#rnavbar {
    position: absolute;
    left: calc(100% - var(--rnavbar-width));
    top: 1vw;
    height: calc(100% - 2vw);
    background: var(--rnavbar-dark-primary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    color: var(--rnavbar-light-primary);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow: hidden;
    float: left;
    user-select: none;
}

#rnav-bar hr {
    margin: 0;
    position: relative;
    left: 16px;
    width: calc(100% - 32px);
    border: none;
    border-top: solid 1px var(--rnavbar-dark-secondary);
}

#rnav-bar a {
    color: inherit;
    text-decoration: inherit;
}

#rnav-bar input[type=checkbox] {
    display: none;
}

#rnav-header hr {
    position: absolute;
    bottom: 0;
}

#rnav-content {
    margin: -16px 0;
    padding: 16px 0;
    position: relative;
    flex: 1;
    width: var(--navbar-width);
    background: var(--navbar-dark-primary);
    box-shadow: 0 0 0 16px var(--navbar-dark-primary);
    direction: rtl;
    overflow-x: hidden;
    transition: width 0.2s;
    direction: ltr;
}

    #rnav-content::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    #rnav-content::-webkit-scrollbar-thumb {
        border-radius: 99px;
        background-color: #D62929;
    }

#rnav-content-highlight {
    position: absolute;
    left: 0px;
    top: -70px;
    width: calc(100%);
    height: 54px;
    background: var(--background);
    background-attachment: fixed;
    border-radius: -16px 0 0 -16px;
    transition: top 0.2s;
}

    #rnav-content-highlight:before, #rnav-content-highlight:after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 100%;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        box-shadow: 16px 16px var(--background);
    }

    #rnav-content-highlight:after {
        top: 100%;
        box-shadow: 16px -16px var(--background);
    }

.rnav-button {
    position: relative;
    margin-left: 16px;
    height: 54px;
    display: flex;
    align-items: center;
    color: var(--rnavbar-light-secondary);
    
    direction: ltr;
    cursor: pointer;
    z-index: 1;
    transition: color 0.2s;
}

    .rnav-button span {
        transition: opacity 1s;
    }

    .rnav-butto,#n .fas {
        transition: min-width 0.2s;
    }

    .rnav-button:nth-of-type(1):hover {
        color: var(--rnavbar-dark-primary);
    }

        .rnav-button:nth-of-type(1):hover ~ #rnav-content-highlight {
            top: 16px;
        }

    .rnav-button:nth-of-type(2):hover {
        color: var(--rnavbar-dark-primary);
    }

        .rnav-button:nth-of-type(2):hover ~ #rnav-content-highlight {
            top: 70px;
        }

    .rnav-button:nth-of-type(3):hover {
        color: var(--rnavbar-dark-primary);
    }

        .rnav-button:nth-of-type(3):hover ~ #rnav-content-highlight {
            top: 124px;
        }

    .rnav-button:nth-of-type(4):hover {
        color: var(--rnavbar-dark-primary);
    }

        .rnav-button:nth-of-type(4):hover ~ #rnav-content-highlight {
            top: 178px;
        }

    .rnav-button:nth-of-type(5):hover {
        color: var(--rnavbar-dark-primary);
    }

        .rnav-button:nth-of-type(5):hover ~ #rnav-content-highlight {
            top: 232px;
        }

    .rnav-button:nth-of-type(6):hover {
        color: var(--rnavbar-dark-primary);
    }

        .rnav-button:nth-of-type(6):hover ~ #rnav-content-highlight {
            top: 286px;
        }

    .rnav-button:nth-of-type(7):hover {
        color: var(--rnavbar-dark-primary);
    }

        .rnav-button:nth-of-type(7):hover ~ #rnav-content-highlight {
            top: 340px;
        }

    .rnav-button:nth-of-type(8):hover {
        color: var(--rnavbar-dark-primary);
    }

        .rnav-button:nth-of-type(8):hover ~ #rnav-content-highlight {
            top: 394px;
        }

#rnav-bar .fas {
    min-width: 3rem;
    text-align: center;
}
/* Fixed sidenav, full height */
.sidenav {
    height: 80%;
    width: var(--rnavbar-width);
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    /* background-color: #111;*/
    background-color: #dddddd;
    overflow-x: hidden;
    padding-top: 0px;
}

    /* Style the sidenav links and the dropdown button */
    .sidenav a, .dropdown-btn {
        padding: 6px 8px 6px 16px;
        text-decoration: none;
        font-size: 20px;
        color: var(--textcolor);
        display: block;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        outline: none;
    }

        /* On mouse-over */
        .sidenav a:hover, .dropdown-btn:hover {
            color: var(--texthover);
        }

/* Main content */
.main {
    margin-left: 200px; /* Same as the width of the sidenav */
    font-size: 20px; /* Increased text to enable scrolling */
    padding: 0px 10px;
}

/* Add an active class to the active dropdown button */
.active {
    background-color: green;
    color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
    float: right;
    padding-right: 8px;
}
.rnav-line {
    position: relative;
    width: var(--rnavbar-width);
    left: 0px;
    width: calc(var(--rnavbar-width) - 1px);
    min-height: 20px;
    background: var(--rnavbar-dark-line);
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: width 0.2s;
}
.rnav-level1line {
    display: none;
    position: relative;
    width: var(--rnavbar-width);
    height: 32px;
    left: 16px;
    width: calc(var(--rnavbar-width) - 17px);
    min-height: 20px;
    background: var(--rnavbar-dark-line);
    border-radius: 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: width 0.2s;
}
.rnav-level2line {
    display: none;
    position: relative;
    width: var(--rnavbar-width);
    height: 32px;
    left: 32px;
    width: calc(var(--rnavbar-width) - 33px);
    min-height: 20px;
    background: var(--rnavbar-dark-line);
    border-radius: 6px;
    z-index: 3;
    display: flex;
    align-items: center;
    transition: width 0.2s;
}
.rnav-btnlist {
    position: relative;
    left: 0px;
    width: 32px;
    height: 32px;
    float: left;
    display: flex;
    border-radius: 16px;
}
#rnav-btntitle1 {
    font-size: 1.05rem;
    transition: opacity 1s;
    margin-left: 6px;
}
#rnav-level1text {
    font-size: 0.9rem;
    transition: opacity 1s;
    padding-left: 50px;
}




